<script setup lang="ts">
// import HelloWorld from './components/HelloWorld.vue'

</script>

<template>
  <!-- <div>
    该项目已集成electron+vite+ts+vue3+sass+element-plus
  </div>
  <HelloWorld msg="Vite + Vue" /> -->
  <div>
    <router-view v-slot="{ Component }">
      <KeepAlive>
        <component :is="Component"></component>
      </KeepAlive>
    </router-view>
  </div>
</template>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
